#include <crt_util.h>

int s_vsnprintf(char* str, int size, const char* fmt, ...)
{
    return S_SUCCESS;
}
int s_snprintf(char* str, int size, const char* fmt, ...)
{
    va_list ap;
    va_start(ap, fmt);

#if (TARGET_OS == OS_WIN)
    _vsnprintf_s(str, size, size, fmt, ap);
#else
    vsnprintf(str, size, fmt, ap);
#endif

    return S_SUCCESS;
}